package com.example.androidshixi;

import java.util.Date;

public class Article {
    private String title;
    private String author;
    private Date time;
    private String content;

    public Article(String title, String author, Date time, String content) {
        this.title = title;
        this.author = author;
        this.time = time;
        this.content = content;
    }

    public String getTitle() {
        return title;
    }

    public String getAuthor() {
        return author;
    }

    public Date getTime() {
        return time;
    }

    public String getContent() {
        return content;
    }
}